[BEE-37070] add inline documentation for build strategies#388
Open
ampuscas wants to merge 3 commits intojenkinsci:masterfrom
Open
[BEE-37070] add inline documentation for build strategies#388ampuscas wants to merge 3 commits intojenkinsci:masterfrom
ampuscas wants to merge 3 commits intojenkinsci:masterfrom
Conversation
jglick
reviewed
Jul 7, 2023
Comment on lines
+46
to
48
| <f:entry title="${%Build strategies}" field="buildStrategies"> | ||
| <f:entry title="${%Strategy}" field="strategyId"></f:entry> | ||
| <f:hetero-list name="buildStrategies" items="${instance.buildStrategies}" |
Member
There was a problem hiding this comment.
The fake f:entry does not look right. You should not need to resort to tricks to have help for a standard form control. I think the problem here is that the original page used unnecessarily low-level controls. Better to use the higher-level f:repeatableHeteroProperty which groks databinding and should allow you to simply create a file with the conventional name, help-buildStrategies.html.
jglick
reviewed
Jul 10, 2023
| <j:set var="descriptors" value="${descriptor.buildStrategiesDescriptors(it,sourceDescriptor)}"/> | ||
| <j:if test="${!descriptors.isEmpty()}"> | ||
| <f:entry title="${%Build strategies}"> | ||
| <f:entry title="${%Build strategies}" field="buildStrategies"> |
Member
There was a problem hiding this comment.
So, showing
Member
|
Might not be possible to use branch-api-plugin/src/main/java/jenkins/branch/BranchSource.java Lines 177 to 178 in 09cb8ea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add inline documentation for Build Strategies
Testing done